//package com.home_school_platform.config;
//
//
//import com.home_school_platform.interceptor.LoginInterceptor;
//import org.springframework.context.annotation.Configuration;
//import org.springframework.web.servlet.config.annotation.InterceptorRegistry;
//import org.springframework.web.servlet.config.annotation.WebMvcConfigurer;
//
//import java.util.ArrayList;
//import java.util.List;
//
//
//@Configuration
//public class AdminWebConfig implements WebMvcConfigurer {
//
//
//    @Override
//    public void addInterceptors(InterceptorRegistry registry) {
//
//
//        registry.addInterceptor(new LoginInterceptor())
//                .addPathPatterns("/**")
//                .excludePathPatterns("/wechatInterface")
//                .excludePathPatterns("swagger-ui.html","/swagger-resources/**", "/webjars/**",
//                        "/v2/**", "/swagger-ui.html/**","/images/**","/**/*.css", "/**/*.js",
//                        "/**/*.png", "/**/*.jpg", "/**/*.jpeg", "/**/*.gif", "/**/fonts/*",
//                        "/**/*.svg");
//    }
//
//
//
//}
